<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <meta charset="UTF-8"/>
    <title>课件</title>
    <link rel="stylesheet" type="text/css" media="all" href="/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="/css/common.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="/css/CaseManager.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="/layui/css/layui.css"/>
    <script type="text/javascript" src="/layui/layui.all.js"></script>
    <script type="text/javascript" src="/js/jquery.min.js"></script>
    <script type="text/javascript" src="/js/myJs.js"></script>
</head>
<body>
<div  align="center">

</div>
<script th:inline="javascript" type="text/javascript">
    $(function(){
        var as = [[${link}]];
        loadPage(as);

        var storage = window.localStorage;
        var it =localStorage.getItem("username")
        var sourseID = [[${sourseID}]];
        if (it ==null){
            storage.username = "未登陆";
        }
        $.get("/Request/UpdateRead",{"sourseID":sourseID,"username":storage.username},function (data) {

        })

    })
    function loadPageWithBlank(url) {
        window.open(url);
    }
    function loadPage(url) {
        window.location.href = url;
    }
</script>
</body>


</html>